package cn.edu.zzuli.common.constant;

import org.springframework.stereotype.Component;

@Component
public class RabbitConstant {
    //交换机名称
    public final static String EXCHANGE = "exchange_message";

    //队列
    public final static String QUEUE_TAKE_ORDER = "queue_take_order";

    public final static String QUEUE_CANCEL_ORDER = "queue_cancel_order";

    public final static String QUEUE_APPLY_ORDER = "queue_apply_order";

    public final static String QUEUE_BROADCAST_MESSAGES= "queue_broadcast_messages";

    public final static String QUEUE_SIGN_IN= "queue_sign_in";

    public final static String QUEUE_USER_CHAT= "queue_user_chat";

    //路由key
    public final static String ROUTING_KEY_TAKE_ORDER = "take_order";

    public final static String ROUTING_KEY_CANCEL_ORDER = "cancel_order";

    public final static String ROUTING_KEY_APPLY_ORDER = "apply_order";

    public final static String ROUTING_KEY_BROADCAST_MESSAGES = "broadcast_messages";

    public final static String ROUTING_KEY_SIGN_IN = "sign_in";

    public final static String ROUTING_KEY_USER_CHAT = "user_chat";

}